package com.gupao.demo.xml;import org.springframework.context.ApplicationContext;import org.springframework.context.support.ClassPathXmlApplicationContext;public class MyTest {    public static void main(String[] args) {        ApplicationContext app = new ClassPathXmlApplicationContext("application.xml");        Object bean = app.getBean("person");        System.out.println(bean);    }}